﻿<%@ Page Title="" Language="C#" MasterPageFile="~/FashionShop.master" AutoEventWireup="true" CodeFile="Nhombaiviet.aspx.cs" Inherits="Nhombaiviet" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table border="0" cellpadding="0" cellspacing="0">
<!-- categories //-->
          <tr>
              <td>
                  <table border="0" cellpadding="0" cellspacing="0" class="infoBoxHeading_table" 
                      width="100%">
                      <tr>
                          <td class="infoBoxHeading_l" style="width: 5px; height: 39px;">
                              <img alt="" border="0" height="5" src="images/infoBoxHeading_tl.gif" 
                                  width="4" /></td>
                          <td class="infoBoxHeading_td" style="height: 30px">
                              Danh sách các bài viết&nbsp;
                          </td>
                          <td class="infoBoxHeading_r" style="width: 5px; height: 39px;">
                              <img alt="" border="0" height="4" src="images/infoBoxHeading_tr.gif" 
                                  width="4" /></td>
                      </tr>
                  </table>
              </td>
        </tr>
<!-- categories_eof //-->

    </table>
    <table border="0" cellpadding="0" cellspacing="0" class="infoBox_table" 
        width="100%">
        <tr>
            <td class="infoBox_td">
                <table border="0" cellpadding="0" cellspacing="0" class="infoBoxContents_table" 
                    width="100%">
                    <tr>
                        <td class="boxText">
                            <table border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td align="left" class="box_body box_body_td" style="width: 100%;">
                                        <br />
                                        <asp:DataList ID="DataList2" runat="server" DataKeyField="News_ID" 
                                            DataSourceID="SqlDataSource1" Width="100%">
                                            <ItemTemplate>
                                                <table>
                                                    <tr>
                                                        <td rowspan="2" width="150">
                                                            <a href='../Noidung.aspx?IDNew=<%#Eval("News_ID") %>'>
                                                            <asp:Image ID="Image2" runat="server" CssClass="pic_tintuc" Height="100" 
                                                                ImageUrl='<%# "~/images/Product/"+Eval("News_Image") %>' Width="150" />
                                                            </a>
                                                        </td>
                                                        <td class="style1">
                                                            <asp:HyperLink ID="HyperLink1" runat="server" CssClass="title" Font-Bold="True" 
                                                                Font-Italic="False" 
                                                                NavigateUrl='<%# Eval("News_ID", "Noidung.aspx?IDNew={0}") %>'> 
                                    <%# Eval("News_Title") %>
                                    </asp:HyperLink>
                                                            <br />
                                                            <br />
                                                            <asp:Label ID="News_IntroLabel" runat="server" CssClass="content" 
                                                                Text='<%# Eval("News_Intro") %>' />
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="right" style="margin-right: 20px; padding-right: 20px;">
                                                            <asp:HyperLink ID="xemthemss" runat="server" CssClass="xemthem" 
                                                                Font-Bold="False" Font-Italic="False" 
                                                                NavigateUrl='<%# Eval("News_ID", "Noidung.aspx?IDNew={0}") %>'> 
                                    Xem thêm
                                    </asp:HyperLink>
                                                        </td>
                                                    </tr>
                                                </table>
                                                <hr />
                                            </ItemTemplate>
                                        </asp:DataList>
                                        <asp:HiddenField ID="tintuctrongtruong" runat="server" Value="13" />
                                        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                                            ConnectionString="<%$ ConnectionStrings:ConnectionString %>" 
                                            
                                            SelectCommand="SELECT [News_ID], [News_Status], [News_Title], [News_Source], [News_Intro], [News_CreateDate], [News_Image], [News_Hit], [Cate_ID] FROM [News] WHERE ([Cate_ID] = @Cate_ID)">
                                            <SelectParameters>
                                                <asp:QueryStringParameter Name="Cate_ID" QueryStringField="Cate_ID" 
                                                    Type="Int32" />
                                            </SelectParameters>
                                        </asp:SqlDataSource>
                                        
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</asp:Content>

